import request from '@/utils/request'

const baseApi = process.env.VUE_APP_BASE_API + '/course/mineHomeWork'

export function getHomeworkDetail(reqData) {
  return request({
    url: `${baseApi}/detail`,
    method: 'post',
    data: reqData
  })
}

export function saveHwQuestionSubmit(reqData) {
  return request({
    url: `${baseApi}/submit`,
    method: 'post',
    data: reqData
  })
}
